<div class="navbar">
    <div class="navbar-inner">
        <ul class="nav pull-right">
            <li>
                <a href="#" role="button">
                    <img src="<?php echo $LoginAdmin['avatar'] ? $LoginAdmin['avatar'] : '/assets/images/avatar.png'?>" width="20" style="margin-right: 10px;" alt="">
                    <?php echo $LoginAdmin['username'];?>
                </a>
            </li>
            <li>
                <a href="index.php?action=logout" onclick="return confirm('是否退出？');" class="hidden-phone visible-tablet visible-desktop" role="button">Logout</a>
            </li>
        </ul>
        <a class="brand" href="index.php"><span class="second">Admin</span></a>
    </div>
</div>